
import { findBanner } from '@/api/home'
import { ref } from 'vue'
export function useBanner () {
  const bannerList = ref([])
  async function loadBannerList () {
    const res = await findBanner()
    // console.log(res)
    bannerList.value = res.result
  }
  loadBannerList()
  return {
    bannerList
  }
}
